package de.lusiardi.webdav.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * http://www.webdav.org/specs/rfc4918.html#ELEMENT_lockentry
 *
 * @author Joachim Lusiardi
 */
@XmlRootElement(name = "lockentry")
@XmlAccessorType(XmlAccessType.FIELD)
public class LockEntry {

    @XmlElement(required = true, name="lockscope")
    private LockScope lockScope;

    @XmlElement(required = true, name="locktype")
    private LockType lockType;

    public LockScope getLockScope() {
        return lockScope;
    }

    public void setLockScope(LockScope lockScope) {
        this.lockScope = lockScope;
    }

    public LockType getLockType() {
        return lockType;
    }

    public void setLockType(LockType lockType) {
        this.lockType = lockType;
    }
}
